package com.xxgc.eow.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxgc.eow.entity.LibraryPassVO;
import com.xxgc.eow.mapper.LibraryPassVoMapper;
import com.xxgc.eow.service.ILibraryPassVoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author:yxh
 * @Date :2023/6/6 - 06 - 06 - 2:19
 */
@Service
public class LibraryPassVoServiceImpl extends ServiceImpl<LibraryPassVoMapper, LibraryPassVO> implements ILibraryPassVoService {

    @Resource
    private LibraryPassVoMapper libraryPassVoMapper;

    @Override
    public List<LibraryPassVO> getAll(Integer userId) {
        return libraryPassVoMapper.selectAll(userId);
    }
}
